<?php

use Illuminate\Database\Schema\Blueprint;

class CreateArticles extends \App\Utils\CreateMigration
{

    function columns(Blueprint $table)
    {
        $table->string('title')->nullable()->comment('标题');
        $table->unsignedInteger('flag')->default(0)->comment('标签 @AF');
    }

    function tableInfo()
    {
        return ['articles', '文章表'];
    }
}
